package com.datang.pet.service;/*
 * @auther 顶风少年
 * @mail dfsn19970313@foxmail.com
 * @date 2019-06-12 09:39
 * @notify
 * @version 1.0
 */

import com.datang.pet.pojo.TalkSearchRecord;
import com.datang.pet.vo.AddTalkRequest;
import com.datang.pet.vo.GetTalkListResponse;
import com.datang.pet.vo.TalkInfoResponse;

import java.util.Date;
import java.util.List;

public interface TalkService {
    public void addTalk(AddTalkRequest addTalkRequest)throws Exception;

    public List<GetTalkListResponse> getTalkList(Date time)throws Exception;

    public List<GetTalkListResponse> getTalkListByUserId(String userId)throws Exception;

    public List<GetTalkListResponse> getTalkListByKeyword(String userId,String keyword, Date time)throws Exception;

    public List<TalkSearchRecord> getSearchRecordList()throws Exception;

    public List<GetTalkListResponse> getTalkLikeLabel(String label,String talkId) throws Exception;

    void complainTalk(String userId, String talkId,String complainContent) throws Exception;

    public TalkInfoResponse getTalkInfo(String talkId, String userId)throws Exception;

    void likeTalk(String userId, String talkId,String type,String talkUserId) throws Exception;

    void deleteTalk(String userId,String id) throws Exception;

}
